package cn.ym.user.mapper;

import cn.ym.user.domain.User;
import cn.ym.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口：用户
 * </p>
 *
 * @author ym
 * @since 2023-03-28
 */
public interface UserMapper extends BaseMapper<User> {
    //校验 - 手机验证码是否注册过
    User findByPhone(String phone);
    //判断该邮箱是否已经被注册过
    User findByEmail(String email);
    //通过longininfoid修改状态
    User findByLogininfoId(Long id);


}
